From: Richard M. Stallman Date: Sun, 28 Mar 1993 08:27:34 +0000 (+0000) Subject: (command_loop_1): Clear force_start of selected_window X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96654 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=75c0b143920f3facc1e1b44b69f4a6a53ae7d87f;p=emacs.git (command_loop_1): Clear force_start of selected_window after reading each key sequence. --- diff --git a/src/keyboard.c b/src/keyboard.c index 468d9703fe0..2f8689ef13e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -957,6 +957,11 @@ command_loop_1 () last_command_char = keybuf[i - 1]; + /* If the previous command tried to force a specific window-start, + forget about that, in case this command moves point far away + from that position. */ + XWINDOW (selected_window)->force_start = Qnil; + cmd = read_key_sequence_cmd; if (!NILP (Vexecuting_macro)) {